'use strict';

require('babel-polyfill');

var name = '张三';
var age = '12';
var arr = [1, 2, 3, 4];
// 箭头函数最简便的书写形式
// let newArr = arr.fiter( item => item === 1)
arr.forEach(function (item, index) {
  console.log(index, item);
});
Array.from(arr);
